

package com.maoshi.shop.distribution.comment.service.impl;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.maoshi.shop.distribution.comment.dao.DistributionUserWalletBillMapper;
import com.maoshi.shop.distribution.comment.dto.DistributionUserWalletBillDto;
import com.maoshi.shop.distribution.comment.model.DistributionUserWalletBill;
import com.maoshi.shop.distribution.comment.service.DistributionUserWalletBillService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 分销员钱包流水
 * @author xwc
 * @date 2019-04-29 16:39:13
 */
@Service
public class DistributionUserWalletBillServiceImpl extends ServiceImpl<DistributionUserWalletBillMapper, DistributionUserWalletBill> implements DistributionUserWalletBillService {

    @Autowired
    DistributionUserWalletBillMapper distributionUserWalletBillMapper;

    @Override
    public Page<DistributionUserWalletBill> getDistributionUserWalletBillAndUserPage(Page page,String userMobile) {
        return distributionUserWalletBillMapper.getDistributionUserWalletBillAndUserPage(page,userMobile);
    }

    @Override
    public Page<DistributionUserWalletBillDto> getDistributionUserWalletBillDtoPage(Page page, Long distributionUserId,Integer orderBy) {
        return distributionUserWalletBillMapper.getDistributionUserWalletBillDtoPage(page,distributionUserId,orderBy);
    }
}
